<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改课程</title>
    <link href="__CSS__/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__CSS__/font-awesome.css?v=4.4.0" rel="stylesheet">


    <link href="__CSS__/animate.css" rel="stylesheet">
    <link href="__CSS__/style.css?v=4.1.0" rel="stylesheet">

    <link href="__CSS__/admin/Course/adddirection.css" rel="stylesheet">

    <!--<script src="__JS__/jquery-1.11.3.js"></script>-->
    <!--<script src="__JS__/jquery.validate.js" ></script>-->
    <script src="http://static.runoob.com/assets/jquery-validation-1.14.0/lib/jquery.js"></script>
    <script src="http://static.runoob.com/assets/jquery-validation-1.14.0/dist/jquery.validate.min.js"></script>
    <script src="http://static.runoob.com/assets/jquery-validation-1.14.0/dist/localization/messages_zh.js"></script>


</head>
<body>
{block name="body"}
<div style="   width:100%;
    height:7%;
    background-image:url('__IMAGES__/QQ图片20170717152104.png') ;
background-size: 100% 100%;"></div>
<div class="index">

    <form id="forms" >
        <p><div class="title">课程方向名字</div>

        <input type="text"  name="name" onkeyup="submits(this)" value=""><span style="color: red" id="span"></span></p>
        <div class="text-center" style="width: 100%">
            <button type="submit" class="btn btn-lg">确认添加</button>
        </div>
    </form>
</div>





{/block}
</body>
</html>
<!--{block name="js"}-->
<!--<script>-->
<!--var url="{:url('Course/update')}";-->
<!--var locationurl="{:url('Course/read')}";-->
<!--//    $(function () {-->
<!--// alert(123);-->
<!--//        alert($("#form"));\-->
<!--//        debugger;-->

<!--//    });-->
<!--</script>-->
<script src="__JS__/admin/Course/adddirection.js"></script>
<!--{/block}-->
<script>
//    alert($("#span").text())
    var keyurl = "{:url('Course/directionkey')}";
    var url = "{:url('Course/adddirection')}";
    var lurl= "{:url('Course/read')}";

</script>